<HTML><HEAD><TITLE>reset_error_handlers</TITLE>
</HEAD><BODY>[ <A HREF="index.html">Event Handling</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>reset_error_handlers</H1>
All error handlers are reset, cancelling any redefinition.


<DL>
</DL>
<H2>Description</H2>
   All error handlers are reset, cancelling any redefinition.

<P>
   The errors which exist are implementation defined.

<P>

<H3>Modes and Determinism</H3><UL>
<LI>reset_error_handlers is det
</UL>
<H2>Examples</H2>
<PRE>
Success:
      ?- string_list(S,L).
      instantiation fault in string_list(_g50, _g52)

      ?- atom_length("atom",L).
      type error in atom_length("atom", _g52).

      ?- set_event_handler(4,fail/0), string_list(S,L).
      no (more) solution.

      ?- set_event_handler(5,abort/0),atom_length("atom",L).
      Aborting execution....

      ?- reset_error_handlers, string_list(S,L).
      instantiation fault in string_list(_g62, _g64)

      ?- atom_length("atom",L).
      type error in atom_length("atom", _g52).

</PRE>
<H2>See Also</H2>
<A HREF="../../kernel/event/reset_event_handler-1.html">reset_event_handler / 1</A>
</BODY></HTML>
